package day07;

public class Test {

	public static void main(String[] args) {
		Animal a1=new Animal("zhangsan",20);
		a1.move();

		Bird b1=new Bird("lisi","RED");
		b1.move();
		b1.singing();
		
		Animal a2=new Bird("wangwu","BLUE");
		Bird a3=(Bird)a2;
		a2.move();
	}
	
}
